/*
Theme Name: MTS Best Child Theme
Theme URI: http://caitaonhacua.com/
Description: Day la child theme cua MTS BEST
Author: Tran Minh Quan
Author URI: http://caitaonhacua.com/
Template: mts_best
Version: 0.1
*/
@import url("../mts_best/style.css");
.header-inner {
    padding: 5px 0;
}
.logo-wrap{
    margin: 5px 0;
}
.main-header{
    
    margin-bottom: 0;
}
main-container{
   padding: 30px 0 0 0;    
}

h2{
font-size:22px !important;
font-weight:600 !important;
text-transform: none !important;
}
h3{
font-size:18px !important;
text-transform: none!important; 
}
.main-container{
padding: 10px 0 0 0;
}
.entry-content p.wp-caption-text{
text-align:center;
}
.article table{
border-collapse: collapse;
cellpadding:0;
}
.article table, th, td {
    border: 1px solid #ddd;
}
.article tr:nth-child(even){background-color: #f2f2f2}
.article table th {
    background-color: #4CAF50;
    color: white;
}
@media only screen and (max-width: 400px) {
    table.responsive { 
        margin-bottom: 0;
        overflow: hidden; 
        overflow-x: scroll;
        display: block;
        white-space: nowrap;
    }
}
th, td {
    padding: 15px;
    text-align: left;
}
table tr:first-child > th:first-child{
   font-weight:600;
}

.widget h3{
	text-transform: none;
}
.widget .post-data .post-title a, #comments-tab-content a{
	text-transform: none;
}
.widget .post-box {
    padding: 6px 10px;
    border-bottom: 1px dashed #ccc;
    margin: 0;
}
.widget li {
    list-style-type: none;
    border-bottom: 1px dashed #ccc;
    margin-left: 0;
    padding: 5px 10px !important;
    margin-bottom: 0;
}
.widget li a {
    color: #333;
}
.widget li a:hover {
    color: #E49F24;
}
.widget li:last-child {
    border-bottom: none; 
}
.sidebar .widget h3 {
    margin-top: 0px;
    background: #3C3C3C;
    color: #fff;
    padding: 3px 10px;
    font-weight: normal;
    font-size: 18px;
    margin-bottom: 0;
}
.sidebar .widget ul {
    border: 1px solid #ccc;
    padding: 12px 0;
}
.title{
	line-height: 30px;
	text-transform: none;
}
#logo img {
    width: 250px;
    margin-top: 15px;
}


/*---- Update css ---*/

.post-home {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}
.post-home h2.title-post {
    line-height: 1;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #3C3C3C;
}
.post-home h2.title-post span {
    line-height: 17px;
    display: inline-block;
    padding: 6px 12px 5px;
    background-color: #3C3C3C;
    color: #fff;
    text-transform: uppercase ;
    font-size: 15px ;
    font-weight: normal ;
}
.post-home .item-post {
    width: 50%;
    float: left;
    padding: 0 15px;
    margin-bottom: 15px;
}
.post-home .item-post:first-child {
    margin-bottom: 0;
}
.post-home .archive-list-post {
    margin-left: -15px;
    margin-right: -15px;
}
.post-home .item-post .wp-post-image {
    float: left;
    border-radius: 0;
    width: 100%;
}
.post-home .item-post .thumb {
    width: 30%;
    float: left;
}
.post-home .item-post .meta-post {
    width: 70%;
    float: left;
    padding-left: 10px;
}
.post-home .item-post .meta-post .excerpt {
    display: none;
}
.post-home .item-post:first-child .meta-post .excerpt, .post-home .item-post:first-child .meta-post .excerpt p {
    display: block;
    height: 98px;
    overflow: hidden;
    font-size: 13px;
    color: #777;
    margin-bottom: 0;
}
.post-home .item-post:first-child .meta-post .excerpt {
    margin-top: 5px;
}
.post-home .item-post .thumb {
    width: 30%;
    float: left;
    height: 75px;
    overflow: hidden;
}
.post-home .item-post:first-child .thumb {
    width: 100%;
    float: left;
    margin-bottom: 10px;
    height: 195px;
    overflow: hidden;
}
.post-home .item-post:first-child .meta-post {
    width: 100%;
    float: left;
    padding-left: 0;
}
.post-home .item-post a {
    font-size: 16px;
    color: #333;
    line-height: 20px;
}
.post-home .item-post:first-child a {
    font-size: 20px;
    color: #333;
}
.post-home .item-post a:hover {
    color: #E49F24;
}
#sidebar .category-posts {
    width: 100%;
    float: left;
    border: 1px solid #eee;
}
.no-thumb.post-box .post-data {
    overflow: hidden;
    margin-top: 0;
}
.post-data .post-title a {
    font-weight: normal !important;
    font-size: 15px !important;
}
.widget {
    margin-bottom: 15px;
}
.cong-trinh-tb {
    width: 100%;
    float: left;
}
.cong-trinh-tb h2 {
    font-size: 16px !important;
    font-weight: 400 !important;
    margin-top: 0;
    margin-bottom: 26px;
    line-height: 31px;
    text-align: left;
    color: #fff;
}
.cong-trinh-tb h2 span {
    background-color: #3C3C3C;
    position: relative;
    font-size: 16px;
    padding: 8px 15px;
    text-transform: uppercase;
}
.cong-trinh-tb h2 span::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 10px;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 7px 0 7px;
    border-color: #3C3C3C transparent transparent transparent;
}
.cong-trinh-tb .item-cttb {
    width: 20%;
    float: left;
    padding: 0 5px;
    position: relative;
    margin-bottom: 10px;
}
.cong-trinh-tb .item-cttb:nth-child(1), .cong-trinh-tb .item-cttb:nth-child(2), .cong-trinh-tb .item-cttb:nth-child(3) {
    width: 33.3333%;
}
.cong-trinh-tb .content-cttb {
    margin-left: -5px;
    margin-right: -5px;
}
.cong-trinh-tb .item-cttb .thumb {
    height: 155px;
    overflow: hidden;
}
.cong-trinh-tb .item-cttb:nth-child(1)  .thumb, .cong-trinh-tb .item-cttb:nth-child(2)  .thumb, .cong-trinh-tb .item-cttb:nth-child(3)  .thumb {
    height: 260px;
}
.cong-trinh-tb .item-cttb img {
    width: 100%;
    float: left;
    transition: transform 0.3s ease, opacity 0.3s;
    -webkit-transition: -webkit-transform 0.3s ease, opacity 0.3s;
    transition-timing-function: ease, ease;
}
.cong-trinh-tb .item-cttb:hover img {
    transform: scale3d(1.1, 1.1, 1);
    -webkit-transform: scale3d(1.1, 1.1, 1);
    -moz-transform: scale3d(1.1, 1.1, 1) rotate(0.02deg);
}
.cong-trinh-tb .item-cttb .title {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,.7);
    margin-bottom: 0;
    padding: 8px 10px;
    width: 100%;
    line-height: 22px;
}
.cong-trinh-tb .item-cttb .title a {
    color: #fff;
    font-size: 14px;
}
.cong-trinh-tb .item-cttb:nth-child(1) .title a, .cong-trinh-tb .item-cttb:nth-child(2) .title a, .cong-trinh-tb .item-cttb:nth-child(3) .title  {
    line-height: 24px;
}
.cong-trinh-tb .item-cttb:nth-child(1) .title a, .cong-trinh-tb .item-cttb:nth-child(2) .title a, .cong-trinh-tb .item-cttb:nth-child(3) .title a {
    color: #fff;
    font-size: 16px;
}
.cong-trinh-tb .content-item {
    position: relative;
}
.copyrights {
    padding: 10px 0;
}
.article ul, .textwidget ul {
    margin: 1.5em 0 1.571em;
}
#site-footer .widget h3 {
    text-transform: uppercase;
    font-size: 16px;
}
.home .content {
    padding: 15px 0 25px;
    width: 100%;
    float: left;
}
.zalo {
	position: fixed;
	left: 40px;
	bottom: 50px;
	z-index: 99999;
    display: none;
}
.zalo img {
    width: 60px;
}
.footer-support {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background: #eee;
    color: #fff;
    border-top: 2px solid #ddd;
}
#site-footer {
	padding-bottom: 49px;
}
#move-to-top {
    z-index: 9999;
    bottom: 60px;
}
.ft-sp-left {
    width: 50%;
    float: left;
    text-align: center;
    border-right: 1px solid #E49F24;
    padding: 10px 0;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}
.ft-sp-right {
    width: 50%;
    float:left;
    text-align: center;
    border-left: 1px solid #E49F24;
    padding: 10px 0 ;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}
.footer-support a {
    font-size: 16px;
    color: #008FE5;
}
.footer-support i {
    margin: 0 10px;
}
#navigation {
    width: auto;
}
.search-header {
    float: right;
    line-height: 22px;
    padding: 19px 10px;
    font-size: 20px;
}
.search-header i {
    cursor: pointer;
}
.search-form-hd {
    position: absolute;
    bottom: -68px;
    right: 0;
    display: none;
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
    background: #fff;
    padding: 10px;
    width: 300px;
}
.search-form #searchform {
    width: 300px;
    background: #fff;
}
.search-form #searchform input{
    background: #eee;
    border: 1px solid #ccc;
}
.footer-support i {
    margin: 0 10px;
}
.related-posts h3 {
    font-size: 22px;
}
#respond h4 {
    font-size: 20px;
}
#navigation , .secondary-navigation{
    background: #3c3c3c!important; 
}
#navigation ul li {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}
#navigation .menu li.home a {
    font-size: 0 !important;
    line-height: 14px;
}
#navigation .menu li.home a i {
    font-size: 20px!important;
}
.page-template-temp-thiet-ke-mau .content {
    width: 100%;
    float: left;
    margin: 30px 0px;
}
.thiet-ke-mau .title {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 26px;
    border-bottom: 2px solid #3C3C3C;
}
.thiet-ke-mau .title h2 {
    line-height: 17px;
    display: inline-block;
    padding: 8px 12px 5px;
    background-color: #3C3C3C;
    color: #fff;
    margin-bottom: 0;
    text-transform: uppercase !important;
    font-weight: normal !important;
    font-size: 14px !important;
}
.thiet-ke-mau .item-tkm {
    width: 50%;
    float: left;
    padding: 0 15px;
    margin-bottom: 30px;
    position: relative;
}
.thiet-ke-mau .content-tkm {
    width: 100%;
    float: left;
    margin: 0 -15px;
}
.thiet-ke-mau .content-tkm .content-item-tkm {
    height: 310px;
    overflow: hidden;
}
.thiet-ke-mau .content-tkm h3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    display: table;
    text-align: center;
    width: 100%;
    padding: 10px 20px;
    pointer-events: none;
}
.thiet-ke-mau .content-tkm h3 a {
    padding: 8px 16px;
    background-color: #fff;
    color: #000;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
}
.thiet-ke-mau .content-tkm img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
}
section.thiet-ke-mau {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}
.form-lienhe input , .form-lienhe textarea {
	width: 100%;
	margin-top: 5px;
}
.form-lienhe .wpcf7-form-control.wpcf7-submit {
	width: auto;
	float: left;
}
.horizontal-small .post-data-container {
    margin: 0;
}




/*----- Responsive  ------*/

@media (max-width: 650px ) {
#callnowbutton {
	display: none!important;
} 

}
@media (max-width: 414px) {
.post-home .item-post {
	width: 100%;;
	margin-bottom: 10px
}
.post-home .item-post:first-child {
	margin-bottom: 15px;
}
#sidebar {
	display: none;
}
.post-home:last-child {
	margin-bottom: 0;
}
.cong-trinh-tb .item-cttb:nth-child(1), .cong-trinh-tb .item-cttb:nth-child(2), .cong-trinh-tb .item-cttb:nth-child(3), .cong-trinh-tb .item-cttb {
	width: 100%;
}
.cong-trinh-tb .item-cttb .thumb , .cong-trinh-tb .item-cttb:nth-child(1) .thumb, .cong-trinh-tb .item-cttb:nth-child(2) .thumb, .cong-trinh-tb .item-cttb:nth-child(3) .thumb {
	height: auto;
	max-height: 230px;
}
.ft-sp-left , .ft-sp-right , .ft-sp-left a, .ft-sp-right a {
	font-size: 14px;
}
.zalo {
	left: 15px;
	bottom: 50px;
}
#site-footer {
	padding-bottom: 42px;
}
.post-home .item-post .thumb {
	height: auto;
	max-height: 65px;
}
.thiet-ke-mau .item-tkm {
    width: 100%;
    padding: 0 0;
    margin-bottom: 15px;
}
.thiet-ke-mau .item-tkm {
    width: 100%;
    padding: 0 10px;
    margin-bottom: 15px;
}
.thiet-ke-mau .content-tkm {
    margin: 0;
}
.thiet-ke-mau .content-tkm .content-item-tkm {
    height: auto;
}
.page-template-temp-thiet-ke-mau .content {
    margin: 25px 0px 5px;
}
.main-container {
    width: 1024px;
}
}